﻿using System;
using System.Collections.Generic;

using EDP.Common.Model;

namespace School.API
{
    /// <summary>
    /// 学生信息保存对象
    /// </summary>
    public class StudentSaveModel
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 主键ID
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别ID
        /// </summary>
        public int? GenderId { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 联系人手机
        /// </summary>
        public string ContactMobile { get; set; }

        /// <summary>
        /// 兴趣爱好
        /// </summary>
        public string Hobby { get; set; }

        /// <summary>
        /// 班级ID
        /// </summary>
        public string ClassId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }

    /// <summary>
    /// 学生信息输出对象
    /// </summary>
    public class StudentResultModel: ResultBase
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 性别ID
        /// </summary>
        public int? GenderId { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 联系人手机
        /// </summary>
        public string ContactMobile { get; set; }

        /// <summary>
        /// 兴趣爱好
        /// </summary>
        public string Hobby { get; set; }

        /// <summary>
        /// 校区ID
        /// </summary>
        public string CampusId { get; set; }

        /// <summary>
        /// 班级ID
        /// </summary>
        public string ClassId { get; set; }

        /// <summary>
        /// 校区名称
        /// </summary>
        public string CampusName { get; set; }

        /// <summary>
        /// 学校名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 班级名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 性别显示
        /// </summary>
        public string GenderDisplay { get; set; }

        /// <summary>
        /// 班级全编码
        /// </summary>
        public string ClassFullCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 学校
        /// </summary>
        public OrganizationResultModel School { get; set; } = new OrganizationResultModel();
    }

    /// <summary>
    /// 学生信息查询输入参
    /// </summary>
    public class StudentQueryInputModel
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int? GenderId { get; set; }

        /// <summary>
        /// 校区
        /// </summary>
        public string CampusId { get; set; }

        /// <summary>
        /// 班级
        /// </summary>
        public string ClassId { get; set; }

        /// <summary>
        /// 班级全编码
        /// </summary>
        public string ClassFullCode { get; set; }

        /// <summary>
        /// 编号姓名关键字
        /// </summary>
        public string NumberNameKeywrod { get; set; }

        /// <summary>
        /// 分页对象
        /// </summary>
        public PageModel Page { get; set; }
    }
}

